package cn.itsource.blog.mapper;

import cn.itsource.blog.domain.Employee;
import cn.itsource.query.BaseQuery;

import java.util.List;

public interface EmployeeMapper {
    void save(Employee employee);

    void update(Employee employee);

    void delete(Long id);

    Employee get(Long id);

    List<Employee> getAllByQuery(BaseQuery userQuery);

    void batchDelete(List<Employee> users);

    List<Employee> getAll();

}
